package cn.homework.domain;

/**
 * @author ACT
 */
public class Orders {
    private String id;
    private String payment;
    private String address;
    private String email;
    private String user;
    private String time;
    private Float sum;
    private String message;

    public Orders() {
    }

    public Orders(String id, String payment, String address, String email, String user, String time, Float sum, String message) {
        this.id = id;
        this.payment = payment;
        this.address = address;
        this.email = email;
        this.user = user;
        this.time = time;
        this.sum = sum;
        this.message = message;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Float getSum() {
        return sum;
    }

    public void setSum(Float sum) {
        this.sum = sum;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "id='" + id + '\'' +
                ", payment='" + payment + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                ", user='" + user + '\'' +
                ", time='" + time + '\'' +
                ", sum=" + sum +
                ", message='" + message + '\'' +
                '}';
    }
}
